<template>
  <div class="custom-form">
    <el-row :gutter="15">
      <el-form ref="elForm" :model="formData" :rules="rules" size="medium" label-width="100px"
        :key="showFormKey" v-if="showForm">
        <el-col :span="24" __isOnlyLookInput__="hasLookFormPermission('field11796d5')">
          <el-form-item label-width="0" prop="field11796d5">
            <h2 align='center' style="color:undefined;font-size: 12px;text-align: left"
              :style="{width: '100%'}">企业基本信息</h2>
          </el-form-item>
        </el-col>
        <el-col :span="24" __isOnlyLookInput__="hasLookFormPermission('field1183b87')">
          <el-form-item label-width="0" prop="field1183b87">
            <div style="border-top: 1px solid #dcdfe6;margin-top: 0px;margin-bottom: 0px;"></div>
          </el-form-item>
        </el-col>
        <el-col :span="12" __isInput__="hasFormPermission('enterprise_name')">
          <el-form-item :label="$t('企业名称')" prop="enterprise_name">
            <el-input v-model="formData['enterprise_name']" placeholder="请输入企业名称"
              __isDisabled__="hasDisabledPermission('enterprise_name',false)"
              __isReadonly__="!hasEditPermission('enterprise_name',false)" clearable :style="{width: '100%'}">
            </el-input>
          </el-form-item>
        </el-col>
        <el-col :span="12" __isInput__="hasFormPermission('production_mode')">
          <el-form-item :label="$t('生产经营方式')" prop="production_mode">
            <el-input v-model="formData['production_mode']" placeholder="请输入生产经营方式"
              __isDisabled__="hasDisabledPermission('production_mode',false)"
              __isReadonly__="!hasEditPermission('production_mode',false)" clearable :style="{width: '100%'}">
            </el-input>
          </el-form-item>
        </el-col>
        <el-col :span="12" __isInput__="hasFormPermission('company_address')">
          <el-form-item :label="$t('公司地址')" prop="company_address">
            <el-input v-model="formData['company_address']" placeholder="请输入公司地址"
              __isDisabled__="hasDisabledPermission('company_address',false)"
              __isReadonly__="!hasEditPermission('company_address',false)" clearable :style="{width: '100%'}">
            </el-input>
          </el-form-item>
        </el-col>
        <el-col :span="12" __isInput__="hasFormPermission('total_assets')">
          <el-form-item :label="$t('资金总额')" prop="total_assets">
            <el-input v-model.number="formData['total_assets']" type="number" placeholder="请输入资金总额"
              __isDisabled__="hasDisabledPermission('total_assets',false)"
              __isReadonly__="!hasEditPermission('total_assets',false)" clearable :style="{width: '100%'}">
              <template slot="append">万人民币</template>
            </el-input>
          </el-form-item>
        </el-col>
        <el-col :span="12" __isInput__="hasFormPermission('leader_name')">
          <el-form-item :label="$t('负责人姓名')" prop="leader_name">
            <el-input v-model="formData['leader_name']" placeholder="请输入负责人姓名"
              __isDisabled__="hasDisabledPermission('leader_name',false)"
              __isReadonly__="!hasEditPermission('leader_name',false)" clearable :style="{width: '100%'}">
            </el-input>
          </el-form-item>
        </el-col>
        <el-col :span="12" __isInput__="hasFormPermission('employees_number')">
          <el-form-item :label="$t('职工人数')" prop="employees_number">
            <el-input v-model.number="formData['employees_number']" type="number" placeholder="请输入职工人数"
              __isDisabled__="hasDisabledPermission('employees_number',false)"
              __isReadonly__="!hasEditPermission('employees_number',false)" clearable
              :style="{width: '100%'}">
              <template slot="append">人</template>
            </el-input>
          </el-form-item>
        </el-col>
        <el-col :span="12" __isInput__="hasFormPermission('establishment_date')">
          <el-form-item :label="$t('开建日期')" prop="establishment_date">
            <el-date-picker __isDisabled__="hasDisabledPermission('establishment_date',false)"
              __isReadonly__="!hasEditPermission('establishment_date',false)"
              v-model="formData['establishment_date']" format="yyyy-MM-dd" value-format="yyyy-MM-dd"
              :style="{width: '100%'}" placeholder="请选择开建日期" clearable></el-date-picker>
          </el-form-item>
        </el-col>
        <el-col :span="12" __isInput__="hasFormPermission('economic_nature')">
          <el-form-item :label="$t('经济性质')" prop="economic_nature">
            <el-input v-model="formData['economic_nature']" placeholder="请输入经济性质"
              __isDisabled__="hasDisabledPermission('economic_nature',false)"
              __isReadonly__="!hasEditPermission('economic_nature',false)" clearable :style="{width: '100%'}">
            </el-input>
          </el-form-item>
        </el-col>
        <el-col :span="24" __isInput__="hasFormPermission('business_scope')">
          <el-form-item :label="$t('生产经营范围')" prop="business_scope">
            <el-input v-model="formData['business_scope']" type="textarea" placeholder="请输入生产经营范围"
              __isDisabled__="hasDisabledPermission('business_scope',false)"
              __isReadonly__="!hasEditPermission('business_scope',false)" :autosize="{minRows: 4, maxRows: 4}"
              :style="{width: '100%'}"></el-input>
          </el-form-item>
        </el-col>
		<el-col :span="24">
		  <el-form-item label-width="0" prop="field1049a50">
		    <h2 align='center' style="color:undefined;font-size: 12px;text-align: left"
		      :style="{width: '100%'}">企业CIE</h2>
		  </el-form-item>
		</el-col>
        <el-col :span="24">
          <el-form-item label-width="0" prop="field1200660">
            <div style="border-top: 1px solid #dcdfe6;margin-top: 0px;margin-bottom: 0px;"></div>
          </el-form-item>
        </el-col>
        <el-col :span="12" __isInput__="hasFormPermission('field124432c')">
          <el-form-item :label="$t('一维度')" prop="field124432c">
            <el-input v-model="formData['field124432c']" placeholder="请输入一维度"
              __isDisabled__="hasDisabledPermission('field124432c',false)"
              __isReadonly__="!hasEditPermission('field124432c',false)" clearable :style="{width: '100%'}">
            </el-input>
          </el-form-item>
        </el-col>
        <el-col :span="12" __isInput__="hasFormPermission('cie_2')">
          <el-form-item :label="$t('二维度')" prop="cie_2">
            <el-input v-model="formData['cie_2']" placeholder="请输入二维度"
              __isDisabled__="hasDisabledPermission('cie_2',false)"
              __isReadonly__="!hasEditPermission('cie_2',false)" clearable :style="{width: '100%'}">
            </el-input>
          </el-form-item>
        </el-col>
        <el-col :span="12" __isInput__="hasFormPermission('cie_3')">
          <el-form-item :label="$t('三维度')" prop="cie_3">
            <el-input v-model="formData['cie_3']" placeholder="请输入三维度"
              __isDisabled__="hasDisabledPermission('cie_3',false)"
              __isReadonly__="!hasEditPermission('cie_3',false)" clearable :style="{width: '100%'}">
            </el-input>
          </el-form-item>
        </el-col>
        <el-col :span="12" __isInput__="hasFormPermission('cie_4')">
          <el-form-item :label="$t('四维度')" prop="cie_4">
            <el-input v-model="formData['cie_4']" placeholder="请输入四维度"
              __isDisabled__="hasDisabledPermission('cie_4',false)"
              __isReadonly__="!hasEditPermission('cie_4',false)" clearable :style="{width: '100%'}">
            </el-input>
          </el-form-item>
        </el-col>
        <el-col :span="12" __isInput__="hasFormPermission('cie_5')">
          <el-form-item :label="$t('五维度')" prop="cie_5">
            <el-input v-model="formData['cie_5']" placeholder="请输入五维度"
              __isDisabled__="hasDisabledPermission('cie_5',false)"
              __isReadonly__="!hasEditPermission('cie_5',false)" clearable :style="{width: '100%'}">
            </el-input>
          </el-form-item>
        </el-col>
        <el-col :span="12" __isInput__="hasFormPermission('cie_6')">
          <el-form-item :label="$t('六维度')" prop="cie_6">
            <el-input v-model="formData['cie_6']" placeholder="请输入六维度"
              __isDisabled__="hasDisabledPermission('cie_6',false)"
              __isReadonly__="!hasEditPermission('cie_6',false)" clearable :style="{width: '100%'}">
            </el-input>
          </el-form-item>
        </el-col>
        <el-col :span="24" __isOnlyLookInput__="hasLookFormPermission('field1014915')">
          <el-form-item label-width="0" prop="field1014915">
            <h2 align='center' style="color:undefined;font-size: 12px;text-align: left"
              :style="{width: '100%'}">企业年度统计</h2>
          </el-form-item>
        </el-col>
        <el-col :span="24" __isOnlyLookInput__="hasLookFormPermission('field1000ee2')">
          <el-form-item label-width="0" prop="field1000ee2">
            <div style="border-top: 1px solid #dcdfe6;margin-top: 0px;margin-bottom: 0px;"></div>
          </el-form-item>
        </el-col>
        <el-col :span="24" __isInput__="hasFormPermission('t_enterprise_archives_annual_report')">
          <avue-form v-loading="preloadLoading102" class=" avueFormTitleNoWrap  subTableForm "
            element-loading-text="数据预加载中..." element-loading-spinner="el-icon-loading"
            element-loading-background="rgba(0, 0, 0, 0.7)" :option="option102"
            v-model="t_enterprise_archives_annual_report" ref="avueTablet_enterprise_archives_annual_report"
            __isInput__="hasFormPermission('t_enterprise_archives_annual_report')" __disabled__
            v-if="reRenderSubform">
          </avue-form>
        </el-col>
        <el-col :span="24">
          <el-form-item label-width="0" prop="field1049a50">
            <h2 align='center' style="color:undefined;font-size: 12px;text-align: left"
              :style="{width: '100%'}">企业产品及项目</h2>
          </el-form-item>
        </el-col>
        <el-col :span="24" __isOnlyLookInput__="hasLookFormPermission('field1055a8b')">
          <el-form-item label-width="0" prop="field1055a8b">
            <div style="border-top: 1px solid #dcdfe6;margin-top: 0px;margin-bottom: 0px;"></div>
          </el-form-item>
        </el-col>
        <el-col :span="24" __isInput__="hasFormPermission('t_enterprise_archives_product')">
          <avue-form v-loading="preloadLoading106" class=" avueFormTitleNoWrap  subTableForm "
            element-loading-text="数据预加载中..." element-loading-spinner="el-icon-loading"
            element-loading-background="rgba(0, 0, 0, 0.7)" :option="option106"
            v-model="t_enterprise_archives_product" ref="avueTablet_enterprise_archives_product"
            __isInput__="hasFormPermission('t_enterprise_archives_product')" __disabled__
            v-if="reRenderSubform">
          </avue-form>
        </el-col>
        <el-col :span="24" __VIFISWORKFLOWFORM__>
          <el-form-item size="large" __isEdit__="isEdit" class="form-button-center">
            <el-button type="primary" @click="submitForm" :loading="submitLoading">
              {{submitLoading?$t('workFlow.WFMenu.hintSubmit'):$t('submit')}}</el-button>
            <el-button @click="cancelForm">{{$t('cancelText')}}</el-button>
          </el-form-item>
        </el-col>
      </el-form>
    </el-row>
  </div>
</template>
<script>
export default {
  components: {},
  props: ['keyValue', 'isEdit', 'disabled'],
  data() {
    return {
      userInfo: {},
      submitLoading: false,
      showForm: true,
      showFormKey: 1,
      reRenderSubform: false,
      operationVal: 'add',
      isAdd: true,
      //_FORM_ADDRESS_URL_,
      autoCompleteConfEventData: [],
      mainTableName: 't_enterprise_archives_info',
      formConfig: {},
      formFieldsMap: new Map(),
      hideComponentsMap: new Map(),
      needShowValueTags: ['asso-popup', 'mutiple-popup'],
      formData: {
        'field11796d5': '',
        'field1183b87': '',
        'enterprise_name': '',
        'production_mode': '',
        'company_address': '',
        'total_assets': 0,
        'leader_name': '',
        'employees_number': 0,
        'establishment_date': null,
        'economic_nature': '',
        'business_scope': '',
        'field1200660': '',
        'field124432c': '',
        'cie_2': '',
        'cie_3': '',
        'cie_4': '',
        'cie_5': '',
        'cie_6': '',
        'field1014915': '',
        'field1000ee2': '',
        'field1049a50': '',
        'field1055a8b': '',
      },
      rules: {
        enterprise_name: [{
          required: true,
          message: '请输入企业名称',
          trigger: 'blur'
        }],
        production_mode: [{
          required: true,
          message: '请输入生产经营方式',
          trigger: 'blur'
        }],
        company_address: [{
          required: true,
          message: '请输入公司地址',
          trigger: 'blur'
        }],
        total_assets: [{
          required: true,
          message: '请输入资金总额',
          trigger: 'blur'
        }],
        leader_name: [{
          required: true,
          message: '请输入负责人姓名',
          trigger: 'blur'
        }],
        employees_number: [{
          required: true,
          message: '请输入职工人数',
          trigger: 'blur'
        }],
        establishment_date: [{
          required: true,
          message: '请选择开建日期',
          trigger: 'change'
        }],
        economic_nature: [{
          required: true,
          message: '请输入经济性质',
          trigger: 'blur'
        }],
        business_scope: [{
          required: true,
          message: '请输入生产经营范围',
          trigger: 'blur'
        }],
        field124432c: [{
          required: true,
          message: '请输入一维度',
          trigger: 'blur'
        }],
        cie_2: [{
          required: true,
          message: '请输入二维度',
          trigger: 'blur'
        }],
        cie_3: [{
          required: true,
          message: '请输入三维度',
          trigger: 'blur'
        }],
        cie_4: [{
          required: true,
          message: '请输入四维度',
          trigger: 'blur'
        }],
        cie_5: [{
          required: true,
          message: '请输入五维度',
          trigger: 'blur'
        }],
        cie_6: [{
          required: true,
          message: '请输入六维度',
          trigger: 'blur'
        }],
      },
      t_enterprise_archives_annual_report: {},
      preloadLoading102: false,
      t_enterprise_archives_product: {},
      preloadLoading106: false,
    }
  },
  computed: {
    option102() {
      return {
        submitBtn: false,
        emptyBtn: false,
        labelWidth: 100,
        disabled: this.disabled,
        column: [{
          label: 'table',
          prop: 't_enterprise_archives_annual_report',
          type: 'dynamic',
          span: 24,
          children: {
            align: 'center',
            headerAlign: 'center',
            rowAdd: (done) => {
              // this.$message.success('新增回调');
              done({});
            },
            rowDel: (row, done) => {
              this.reRenderSubform = false; //更新组件 index
              setTimeout(() => {
                // this.$message.success('删除回调'+JSON.stringify(row));
                this.reRenderSubform = true;
              }, 0);
              done();
            },
            column: this.getAuthorityTableChildrenList('t_enterprise_archives_annual_report', [{
              label: this.$t('年份'),
              type: 'select',
              width: null,
              placeholder: '请选择年份',
              prop: 'year_value',
              value: '',
              props: {
                label: 'previous_year',
                value: 'previous_year'
              },
              dicUrl: 'http://localhost:2828/data-sources/9cb32ef60f026f0ef692780488f6a590/data',
              required: true,
              formslot: false,
              disabled: this.disabled ? this.disabled : false,
              rules: [{
                required: true,
                message: '年份不能为空'
              }, ],
              ruleList: [{
                required: true,
                message: '年份不能为空'
              }, ],
            }, {
              label: this.$t('产能'),
              prop: 'output_value',
              value: 0,
              type: 'input',
              width: null,
              placeholder: '请输入产能',
              required: true,
              formslot: false,
              disabled: this.disabled ? this.disabled : false,
              rules: [{
                required: true,
                message: '产能不能为空'
              }, ],
              ruleList: [{
                required: true,
                message: '产能不能为空'
              }, ],
            }, {
              label: this.$t('税收'),
              prop: 'tax',
              value: 0,
              type: 'input',
              width: null,
              placeholder: '请输入税收',
              required: true,
              formslot: false,
              disabled: this.disabled ? this.disabled : false,
              rules: [{
                required: true,
                message: '税收不能为空'
              }, ],
              ruleList: [{
                required: true,
                message: '税收不能为空'
              }, ],
            }, {
              label: this.$t('能耗'),
              prop: 'energy_consumption',
              value: 0,
              type: 'input',
              width: null,
              placeholder: '请输入能耗',
              required: true,
              formslot: false,
              disabled: this.disabled ? this.disabled : false,
              rules: [{
                required: true,
                message: '能耗不能为空'
              }, ],
              ruleList: [{
                required: true,
                message: '能耗不能为空'
              }, ],
            }, {
              label: this.$t('废水排放量'),
              prop: 'discharge_volume',
              value: 0,
              type: 'input',
              width: null,
              placeholder: '请输入废水排放量',
              required: true,
              formslot: false,
              disabled: this.disabled ? this.disabled : false,
              rules: [{
                required: true,
                message: '废水排放量不能为空'
              }, ],
              ruleList: [{
                required: true,
                message: '废水排放量不能为空'
              }, ],
            }, {
              label: this.$t('社保缴纳人数'),
              prop: 'ssp_qty',
              value: 0,
              type: 'input',
              width: null,
              placeholder: '请输入社保缴纳人数',
              required: true,
              formslot: false,
              disabled: this.disabled ? this.disabled : false,
              rules: [{
                required: true,
                message: '社保缴纳人数不能为空'
              }, ],
              ruleList: [{
                required: true,
                message: '社保缴纳人数不能为空'
              }, ],
            }, ])
          }
        }, ],
      }
    },
    option106() {
      return {
        submitBtn: false,
        emptyBtn: false,
        labelWidth: 100,
        disabled: this.disabled,
        column: [{
          label: 'table',
          prop: 't_enterprise_archives_product',
          type: 'dynamic',
          span: 24,
          children: {
            align: 'center',
            headerAlign: 'center',
            rowAdd: (done) => {
              // this.$message.success('新增回调');
              done({});
            },
            rowDel: (row, done) => {
              this.reRenderSubform = false; //更新组件 index
              setTimeout(() => {
                // this.$message.success('删除回调'+JSON.stringify(row));
                this.reRenderSubform = true;
              }, 0);
              done();
            },
            column: this.getAuthorityTableChildrenList('t_enterprise_archives_product', [{
              label: this.$t('核心产品名称'),
              prop: 'product_name',
              value: '',
              type: 'input-tip',
              width: null,
              placeholder: '请输入核心产品名称',
              required: true,
              formslot: false,
              disabled: this.disabled ? this.disabled : false,
              rules: [{
                required: true,
                message: '核心产品名称不能为空'
              }, ],
              ruleList: [{
                required: true,
                message: '核心产品名称不能为空'
              }, ],
            }, {
              label: this.$t('核心产品数量'),
              prop: 'product_quantity',
              value: 0,
              type: 'input',
              width: null,
              placeholder: '请输入核心产品数量',
              required: true,
              formslot: false,
              disabled: this.disabled ? this.disabled : false,
              rules: [{
                required: true,
                message: '核心产品数量不能为空'
              }, ],
              ruleList: [{
                required: true,
                message: '核心产品数量不能为空'
              }, ],
            }, {
              label: this.$t('上游产业名称'),
              prop: 'upstream_industry_name',
              value: '',
              type: 'input-tip',
              width: null,
              placeholder: '请输入上游产业名称',
              required: true,
              formslot: false,
              disabled: this.disabled ? this.disabled : false,
              rules: [{
                required: true,
                message: '上游产业名称不能为空'
              }, ],
              ruleList: [{
                required: true,
                message: '上游产业名称不能为空'
              }, ],
            }, {
              label: this.$t('下游产业名称'),
              prop: 'downstream_industry_name',
              value: '',
              type: 'input-tip',
              width: null,
              placeholder: '请输入下游产业名称',
              required: true,
              formslot: false,
              disabled: this.disabled ? this.disabled : false,
              rules: [{
                required: true,
                message: '下游产业名称不能为空'
              }, ],
              ruleList: [{
                required: true,
                message: '下游产业名称不能为空'
              }, ],
            }, {
              label: this.$t('线上申报项目'),
              prop: 'project_name',
              value: '',
              type: 'input-tip',
              width: null,
              placeholder: '请输入线上申报项目',
              required: true,
              formslot: false,
              disabled: this.disabled ? this.disabled : false,
              rules: [{
                required: true,
                message: '线上申报项目不能为空'
              }, ],
              ruleList: [{
                required: true,
                message: '线上申报项目不能为空'
              }, ],
            }, {
              label: this.$t('线上申报项目进度'),
              prop: 'project_schedule',
              value: 0,
              type: 'input',
              width: null,
              placeholder: '请输入线上申报项目进度',
              required: true,
              formslot: false,
              disabled: this.disabled ? this.disabled : false,
              rules: [{
                required: true,
                message: '线上申报项目进度不能为空'
              }, ],
              ruleList: [{
                required: true,
                message: '线上申报项目进度不能为空'
              }, ],
            }, ])
          }
        }, ],
      }
    },
  },
  watch: {
    'formData.total_assets': function(val, oldVal) {
      this.changeFormConfigDefaultValue();
    },
    'formData.employees_number': function(val, oldVal) {
      this.changeFormConfigDefaultValue();
    },
  },
  async created() {
    this.formConfig = this.getFormConfig();
    this.formFieldsMap = this.getFormFieldsMap();
    this.userInfo = localStorage.getItem("avue-userInfo") ? JSON.parse(localStorage.getItem(
      "avue-userInfo")).content : {};
  },
  async mounted() {
    this.hideComponentsMap = await this.getHideComponentsMap();
    this.showForm = false;
    await this.insertCreatedEvent();
    //TODO   再这里做数据回填 请求表单数据
    //用于占位
    await this.insertMountedEvent();
    this.reRenderSubform = true; //子表单显示
    this.showFormKey++;
    this.processParameterAssignment();
    this.showForm = true;
  },
  methods: {
    getFormData() {
      let key = this.mainTableName + 'Entity';
      let returnParams = {};
      returnParams[key] = this.formData;
      return {
        ...returnParams,
        t_enterprise_archives_annual_reportEntityList: this.t_enterprise_archives_annual_report
          .t_enterprise_archives_annual_report,
        t_enterprise_archives_productEntityList: this.t_enterprise_archives_product
          .t_enterprise_archives_product,
      };
    },
    validateForm() {
      this.$refs['elForm'].validate(valid => {});
    },
    async aysncValidateForm() {
      let validataArry = []
      let formValidateNotice = function formValidateNotice(obj, that, formAuth) {
        for (var o in obj) {
          if (!formAuth[o] && obj[o][0]) {
            that.$message({
              message: obj[o][0].message + ',' + that.$t('noFormAuth'),
              type: 'warning'
            });
            return;
          }
        }
      }
      if (this.t_enterprise_archives_annual_report.t_enterprise_archives_annual_report && this
        .t_enterprise_archives_annual_report.t_enterprise_archives_annual_report.length > 0) {
        validataArry.push(new Promise((resolve, reject) => {
          this.$refs['avueTablet_enterprise_archives_annual_report'].validate(valid => {
            resolve(valid)
          });
        }));
      }
      if (this.t_enterprise_archives_product.t_enterprise_archives_product && this
        .t_enterprise_archives_product.t_enterprise_archives_product.length > 0) {
        validataArry.push(new Promise((resolve, reject) => {
          this.$refs['avueTablet_enterprise_archives_product'].validate(valid => {
            resolve(valid)
          });
        }));
      }
      validataArry.push(new Promise((resolve, reject) => {
        this.$refs['elForm'].validate((valid, object) => {
          if (!this.isWorkflowForm) formValidateNotice(object, this, this.formEnCodeList)
          resolve(valid)
        })
      }))
      let res = await Promise.all(validataArry)
      if (res.includes(false)) {
        return false
      }
      else {
        return true;
      }
    },
    changeTableData() {
      if (this.t_enterprise_archives_annual_report.t_enterprise_archives_annual_report && this
        .t_enterprise_archives_annual_report.t_enterprise_archives_annual_report.length > 0) {
        this.t_enterprise_archives_annual_report.t_enterprise_archives_annual_report.forEach((element,
          index) => {
            let itemChild = {
              ...element
            }
            for (let [key, value] of Object.entries(itemChild)) {
              if (Array.isArray(value)) {
                itemChild[key] = value.join(',')
              }
            }
            this.t_enterprise_archives_annual_report.t_enterprise_archives_annual_report[index] = itemChild;
          });
      }
      else {
        this.t_enterprise_archives_annual_report.t_enterprise_archives_annual_report = [];
      }
      if (this.t_enterprise_archives_product.t_enterprise_archives_product && this
        .t_enterprise_archives_product.t_enterprise_archives_product.length > 0) {
        this.t_enterprise_archives_product.t_enterprise_archives_product.forEach((element, index) => {
          let itemChild = {
            ...element
          }
          for (let [key, value] of Object.entries(itemChild)) {
            if (Array.isArray(value)) {
              itemChild[key] = value.join(',')
            }
          }
          this.t_enterprise_archives_product.t_enterprise_archives_product[index] = itemChild;
        });
      }
      else {
        this.t_enterprise_archives_product.t_enterprise_archives_product = [];
      }
    },
    async submitForm() {
      this.submitLoading = true;
      let valid = await this.aysncValidateForm();
      if (valid == false) {
        this.submitLoading = false;
        return false;
      }
      this.changeTableData();
      //格式化数据
      let newObj = this.getFormData();
      //此处用于占位  最后生成 替换  请勿 修改/删除
      console.log(newObj)
      //FORM_EVENT_SUBMIT
    },
    cancelForm() {
      this.$emit("onChange", true)
    },
    formatTree(data, valueField, lableField, childField, type) {
      let tree = [];
      data.forEach((node, index) => {
        let newNode = {
          value: node[valueField],
          label: node[lableField],
        };
        if (type) {
          newNode.disabled = node[valueField] == undefined ? true : false
        }
        tree.push(newNode);
        if (node[childField] != null && node[childField].length > 0) {
          newNode.children = (this.formatTree(node[childField], valueField, lableField, childField,
          type));
        }
      }, this);
      return tree;
    },
    //__WORKFLOWFORMHANDLEMETHODS__
    //FORM_EVENT_EDIT
    //__SUMIBTHANDLEMETHODS__
    getNumberFixed2(number) {
      let splitNum = ("" + number).replace(/(^0*)/g, "").split(".");
      let num = splitNum[0] == "" ? '0' : splitNum[0];
      if (splitNum.length > 1) {
        num += '.';
        let roundNum = 2; //保留两位小数
        for (let i = 0; i < roundNum; i++) {
          num += splitNum[1][i];
        }
      }
      return parseFloat(num);
    },
    changeFormConfigDefaultValue() {
      let valueForFormIdMap = new Map();
      this.formConfig.fields.forEach((ele) => {
        if (ele.__config__.componentName == "table") {
          ele.__config__.children.forEach((element) => {
            valueForFormIdMap.set(ele.__config__.formId + "-table-" + element.__config__.formId,
              element.__config__.defaultValue);
          });
        }
        else if (ele.__config__.componentName && ele.__config__.componentName == 'avue-tabs') {
          let childrenObj = ele.__config__.childrenObj || {};
          let _arr = this.getValByTabs(childrenObj);
          _arr.map(item => {
            valueForFormIdMap.set(item.formId, item.defaultValue);
          });
        }
        else {
          valueForFormIdMap.set(ele.__config__.formId, this.formData[ele.__vModel__]);
        }
      });
      this.formConfig.fields.forEach((ele, index) => {
        if (ele.__config__.componentName == "table") {
          ele.__config__.children.forEach((element, childrenIndex) => {
            let defaultValue = 0;
            if (element.computationalConfiguration && element.computationalConfiguration.length > 0) {
              let formulaStr = "";
              element.computationalConfiguration.forEach((item) => {
                if (item.type == "taxRate") {
                  //税率
                  if (element.taxRate >= 0) {
                    formulaStr += element.taxRate * 0.01;
                  }
                }
                else {
                  let eleValue = valueForFormIdMap.get(item.formId) || 0;
                  formulaStr += item.formId == 0 ? item.name : eleValue;
                }
              });
              defaultValue = eval(formulaStr) * 100;
              defaultValue = this.getNumberFixed2(defaultValue) / 100;
              //大写
              if (element.isCapitalized) {
                this.formConfig.fields[index].__config__.children[childrenIndex].__config__
                  .capitalizedValue = this.getCapitalizedMethod(defaultValue);
              }
              this.formConfig.fields[index].__config__.children[childrenIndex].__config__
                .defaultValue = defaultValue;
              this.formData[element.__vModel__] = defaultValue;
            }
          });
        }
        else if (ele.__config__.componentName && ele.__config__.componentName == 'avue-tabs') {
          let childrenObj = ele.__config__.childrenObj || {};
          //avue-tabs
          this.calcDefaultValueByTabs(ele.__config__.childrenObj, valueForFormIdMap);
        }
        else {
          let defaultValue = 0;
          if (ele.computationalConfiguration && ele.computationalConfiguration.length > 0) {
            let formulaStr = "";
            ele.computationalConfiguration.forEach((item) => {
              if (item.type == "taxRate") {
                //税率
                if (ele.taxRate >= 0) {
                  formulaStr += ele.taxRate * 0.01;
                }
              }
              else {
                let eleValue = valueForFormIdMap.get(item.formId) || 0;
                formulaStr += item.formId == 0 ? item.name : eleValue;
              }
            });
            defaultValue = eval(formulaStr) * 100;
            defaultValue = this.getNumberFixed2(defaultValue) / 100;
            //大写
            if (ele.isCapitalized) {
              this.formConfig.fields[index].__config__.capitalizedValue = this.getCapitalizedMethod(
                defaultValue);
            }
            this.formConfig.fields[index].__config__.defaultValue = defaultValue;
            this.formData[ele.__vModel__] = defaultValue;
          }
        }
      });
    },
    getValByTabs(childrenObj) {
      let _arr = [];
      if (!childrenObj || !(childrenObj instanceof Object)) return [];
      for (let key in childrenObj) {
        let children = childrenObj[key];
        children.map(item => {
          if (item.__config__.componentName && item.__config__.componentName == 'avue-tabs') {
            let cObj = item.__config__.childrenObj || {};
            _arr.push(...this.getValByTabs(item.__config__.childrenObj));
          }
          else {
            let _obj = {};
            _obj.formId = item.__config__.formId;
            _obj.defaultValue = this.formData[item.__vModel__];
            _arr.push(_obj);
          }
        });
      }
      return (() => {
        return _arr;
      })()
    },
    calcDefaultValueByTabs(childrenObj, valueForFormIdMap) {
      if (!childrenObj || !(childrenObj instanceof Object)) return;
      for (let key in childrenObj) {
        let children = childrenObj[key];
        children.map(item => {
          if (item.__config__.componentName && item.__config__.componentName == 'avue-tabs') {
            let cObj = item.__config__.childrenObj || {};
            this.calcDefaultValueByTabs(cObj, valueForFormIdMap);
          }
          else {
            let defaultValue = 0;
            if (item.computationalConfiguration && item.computationalConfiguration.length > 0) {
              let formulaStr = "";
              item.computationalConfiguration.forEach((c) => {
                if (c.type == "taxRate") {
                  //税率
                  if (item.taxRate >= 0) {
                    formulaStr += item.taxRate * 0.01;
                  }
                }
                else {
                  let eleValue = valueForFormIdMap.get(c.formId) || 0;
                  formulaStr += c.formId == 0 ? c.name : eleValue;
                }
              });
              defaultValue = eval(formulaStr) * 100;
              defaultValue = this.getNumberFixed2(defaultValue) / 100;
              item.__config__.defaultValue = defaultValue;
              this.formData[item.__vModel__] = defaultValue;
            }
          }
        });
      }
    },
    async triggerEventHandler(eventData) {
      if (eventData.length > 0) {
        eventData.forEach(ele => {
          let functionName = 'getField' + ele.componentFormId + 'Options';
          if (typeof this[functionName] == "function") {
            this[functionName]();
          }
        })
      }
    },
    triggerEventFormIdHandler(formId) {
      if (this.formFieldsMap.get(formId).__config__.triggerEvents && this.formFieldsMap.get(formId).__config__
        .triggerEvents.length > 0) {
        this.formFieldsMap.get(formId).__config__.triggerEvents.forEach(triggerEventItem => {
          if (this.formFieldsMap.get(formId).__config__.triggerEventData && this.formFieldsMap.get(formId)
            .__config__.triggerEventData[triggerEventItem] && this.formFieldsMap.get(formId).__config__
            .triggerEventData[triggerEventItem].length > 0) {
            this.triggerEventHandler(this.formFieldsMap.get(formId).__config__.triggerEventData[
              triggerEventItem]);
          }
        });
      }
      return true;
    },
    //清空联想弹层、多选弹层的值
    clearBombLayerFormData(filed) {
      this.formData[filed] = '';
      this.formData[filed + '_showValue'] = '';
    },
    // 流程参数赋值
    processParameterAssignment() {
      // 流程中的流程参数赋值 优先级最高，最后赋值
      setTimeout(() => {
        if (this.isEdit != 2 && this.parameter && this.parameter[this.mainTableName]) {
          this.showForm = false;
          for (let [key, value] of Object.entries(this.parameter[this.mainTableName])) {
            this.setFormDataValue(key, value);
          }
          this.showForm = true;
        }
      }, 0);
    },
    setFormDataValue(field, val) {
      if (Array.isArray(this.formData[field])) {
        if (val.includes(',')) {
          this.formData[field] = val.split(',');
        }
        else {
          this.formData[field] = [val];
        }
      }
      else {
        this.formData[field] = val;
      }
      //处理联想弹层，多选弹层
      if (this.formData[field + '_showValue'] != undefined) {
        this.formData[field + '_showValue'] = val;
      }
    },
    setOutputsValue(nodeType, formId, res, outputKey) {
      let nodeTypeChecked = false;
      if (nodeType == 'created') {
        nodeTypeChecked = this.operationVal == 'add';
      }
      else if (nodeType == 'edit') {
        nodeTypeChecked = this.operationVal == 'edit';
      }
      else if (nodeType == 'mounted') {
        nodeTypeChecked = this.operationVal == 'add' || this.operationVal == 'edit';
      }
      if (nodeTypeChecked && this.disabled != true && res && res.data && res.data.data && this.formFieldsMap
        .has(formId) && this.formFieldsMap.get(formId).__vModel__ && this.formData.hasOwnProperty(this
          .formFieldsMap.get(formId).__vModel__)) {
        this.setFormDataValue(this.formFieldsMap.get(formId).__vModel__, res.data.data[outputKey]);
        // 联想弹层 多选弹层 特殊处理
        if (this.formFieldsMap.get(formId).__config__ && this.formFieldsMap.get(formId).__config__.avueType &&
          this.needShowValueTags.includes(this.formFieldsMap.get(formId).__config__.avueType)) {
          this.formData[this.formFieldsMap.get(formId).__vModel__ + '_showValue'] = res.data.data[outputKey];
        }
        this.triggerEventFormIdHandler(formId);
      }
    },
    //子表单权限
    getAuthorityTableChildrenList(bindTable, children) {
      let column = [];
      if (bindTable && this.formEnCodeList && this.formEnCodeList[bindTable]) {
        let formSubEnCodeList = this.formEnCodeList[bindTable];
        if (children && children.length > 0) {
          column = children.map(ele2 => {
            if (formSubEnCodeList.includes(ele2.prop)) {
              ele2.hide = false;
            }
            else {
              ele2.hide = true;
            }
            if (ele2.hide == false) {
              //工作流中系统表单必填权限
              if (this.formSubTableNotRequiredList && this.formSubTableNotRequiredList[bindTable] !=
                undefined) {
                if (this.formSubTableNotRequiredList[bindTable].includes(ele2.prop)) {
                  ele2.required = false;
                }
                else {
                  ele2.required = true;
                }
              }
              ele2.rules = [];
              if (ele2.required) {
                ele2.rules = ele2.ruleList;
              }
              // disabled 属性
              if (this.formSubTableDisabledList && this.formSubTableDisabledList[bindTable] !=
                undefined) {
                if (this.formSubTableDisabledList[bindTable].includes(ele2.prop)) {
                  ele2.disabled = true;
                }
                else {
                  ele2.disabled = false;
                }
              }
              if (this.disabled) { //查看
                ele2.disabled = true;
              }
            }
            else {
              ele2.rules = []
              if (ele2.required) {
                ele2.ruleList.forEach(el => {
                  el.message += ',' + this.$t('noFormAuth')
                })
                ele2.rules = ele2.ruleList;
              }
            }
            return ele2;
          });
        }
        return column;
      }
      else {
        return children;
      }
    },
    async insertCreatedEvent() {
      //FORM_EVENT_CREATED
    },
    async insertMountedEvent() {
      //FORM_EVENT_MOUNTED
    },
    async insertEditEvent() {
      //FORM_EDIT_STR
    },
    async insertSubmitEvent() {
      //FORM_SUBMIT_STR
    },
    getFormConfig() {
      //FORM_CONFIG_START
      let config = {
        "fields": [{
          "__config__": {
            "label": "企业基本信息",
            "changeTag": null,
            "isBindTable": false,
            "showLabel": false,
            "titlePosition": "left",
            "titleColor": null,
            "fontSize": 12,
            "tag": "h2",
            "tagIcon": "title",
            "span": 24,
            "align": "top",
            "justify": "start",
            "layout": "colFormItem",
            "document": "https://element.eleme.cn/#/zh-CN/component/button",
            "F_LgMarkCode": "",
            "prestrainField": "",
            "formId": 117,
            "renderKey": "1171748414326598"
          },
          "__slot__": {},
          "__vModel__": "field11796d5"
        }, {
          "__config__": {
            "label": "分割线",
            "showLabel": false,
            "changeTag": true,
            "isBindTable": false,
            "direction": "horizontal",
            "contentPosition": "",
            "tag": "el-divider",
            "tagIcon": "split-line",
            "top": 0,
            "bottom": 0,
            "span": 24,
            "layout": "colFormItem",
            "document": "https://element.eleme.cn/#/zh-CN/component/divider",
            "F_LgMarkCode": "",
            "prestrainField": "",
            "formId": 118,
            "renderKey": "1181748414344008"
          },
          "__slot__": {},
          "__vModel__": "field1183b87"
        }, {
          "__config__": {
            "label": "企业名称",
            "labelWidth": null,
            "showLabel": true,
            "changeTag": true,
            "tag": "el-input",
            "tagIcon": "input",
            "avueType": "input-tip",
            "required": true,
            "layout": "colFormItem",
            "span": 12,
            "document": "https://element.eleme.cn/#/zh-CN/component/input",
            "F_LgMarkCode": "",
            "regList": [],
            "triggerEvents": ["blur"],
            "triggerEventData": {
              "blur": []
            },
            "prestrainField": "",
            "formId": 108,
            "renderKey": "1081748413916322",
            "bindTable": "t_enterprise_archives_info",
            "bindTableField": "enterprise_name",
            "bindTableFieldType": "varchar"
          },
          "__slot__": {
            "prepend": "",
            "append": ""
          },
          "placeholder": "请输入企业名称",
          "style": {
            "width": "100%"
          },
          "clearable": true,
          "prefix-icon": "",
          "suffix-icon": "",
          "maxlength": null,
          "show-word-limit": false,
          "readonly": false,
          "disabled": false,
          "__vModel__": "enterprise_name"
        }, {
          "__config__": {
            "label": "生产经营方式",
            "labelWidth": null,
            "showLabel": true,
            "changeTag": true,
            "tag": "el-input",
            "tagIcon": "input",
            "avueType": "input-tip",
            "required": true,
            "layout": "colFormItem",
            "span": 12,
            "document": "https://element.eleme.cn/#/zh-CN/component/input",
            "F_LgMarkCode": "",
            "regList": [],
            "triggerEvents": ["blur"],
            "triggerEventData": {
              "blur": []
            },
            "prestrainField": "",
            "formId": 109,
            "renderKey": "1091748414012415",
            "bindTable": "t_enterprise_archives_info",
            "bindTableField": "production_mode",
            "bindTableFieldType": "varchar"
          },
          "__slot__": {
            "prepend": "",
            "append": ""
          },
          "placeholder": "请输入生产经营方式",
          "style": {
            "width": "100%"
          },
          "clearable": true,
          "prefix-icon": "",
          "suffix-icon": "",
          "maxlength": null,
          "show-word-limit": false,
          "readonly": false,
          "disabled": false,
          "__vModel__": "production_mode"
        }, {
          "__config__": {
            "label": "公司地址",
            "labelWidth": null,
            "showLabel": true,
            "changeTag": true,
            "tag": "el-input",
            "tagIcon": "input",
            "avueType": "input-tip",
            "required": true,
            "layout": "colFormItem",
            "span": 12,
            "document": "https://element.eleme.cn/#/zh-CN/component/input",
            "F_LgMarkCode": "",
            "regList": [],
            "triggerEvents": ["blur"],
            "triggerEventData": {
              "blur": []
            },
            "prestrainField": "",
            "formId": 110,
            "renderKey": "1101748414013343",
            "bindTable": "t_enterprise_archives_info",
            "bindTableField": "company_address",
            "bindTableFieldType": "varchar"
          },
          "__slot__": {
            "prepend": "",
            "append": ""
          },
          "placeholder": "请输入公司地址",
          "style": {
            "width": "100%"
          },
          "clearable": true,
          "prefix-icon": "",
          "suffix-icon": "",
          "maxlength": null,
          "show-word-limit": false,
          "readonly": false,
          "disabled": false,
          "__vModel__": "company_address"
        }, {
          "__config__": {
            "label": "资金总额",
            "labelWidth": null,
            "showLabel": true,
            "changeTag": true,
            "tag": "el-input",
            "tagIcon": "input",
            "avueType": "input",
            "isFinance": true,
            "defaultValue": 0,
            "required": true,
            "layout": "colFormItem",
            "span": 12,
            "document": "https://element.eleme.cn/#/zh-CN/component/input",
            "F_LgMarkCode": "",
            "regList": [],
            "triggerEvents": ["blur"],
            "triggerEventData": {
              "blur": []
            },
            "formId": 111,
            "renderKey": "1111748414075224",
            "bindTable": "t_enterprise_archives_info",
            "bindTableField": "total_assets",
            "bindTableFieldType": "decimal"
          },
          "__slot__": {
            "prepend": "",
            "append": "万人民币"
          },
          "type": "number",
          "computationalConfiguration": [],
          "computationalConfigurationValue": "",
          "relativeComObject": null,
          "placeholder": "请输入资金总额",
          "style": {
            "width": "100%"
          },
          "clearable": true,
          "prefix-icon": "",
          "suffix-icon": "",
          "maxlength": null,
          "show-word-limit": false,
          "readonly": false,
          "disabled": false,
          "prestrainField": "",
          "__vModel__": "total_assets"
        }, {
          "__config__": {
            "label": "负责人姓名",
            "labelWidth": null,
            "showLabel": true,
            "changeTag": true,
            "tag": "el-input",
            "tagIcon": "input",
            "avueType": "input-tip",
            "required": true,
            "layout": "colFormItem",
            "span": 12,
            "document": "https://element.eleme.cn/#/zh-CN/component/input",
            "F_LgMarkCode": "",
            "regList": [],
            "triggerEvents": ["blur"],
            "triggerEventData": {
              "blur": []
            },
            "prestrainField": "",
            "formId": 112,
            "renderKey": "1121748414172719",
            "bindTable": "t_enterprise_archives_info",
            "bindTableField": "leader_name",
            "bindTableFieldType": "varchar"
          },
          "__slot__": {
            "prepend": "",
            "append": ""
          },
          "placeholder": "请输入负责人姓名",
          "style": {
            "width": "100%"
          },
          "clearable": true,
          "prefix-icon": "",
          "suffix-icon": "",
          "maxlength": null,
          "show-word-limit": false,
          "readonly": false,
          "disabled": false,
          "__vModel__": "leader_name"
        }, {
          "__config__": {
            "label": "职工人数",
            "labelWidth": null,
            "showLabel": true,
            "changeTag": true,
            "tag": "el-input",
            "tagIcon": "input",
            "avueType": "input",
            "isFinance": true,
            "defaultValue": 0,
            "required": true,
            "layout": "colFormItem",
            "span": 12,
            "document": "https://element.eleme.cn/#/zh-CN/component/input",
            "F_LgMarkCode": "",
            "regList": [],
            "triggerEvents": ["blur"],
            "triggerEventData": {
              "blur": []
            },
            "formId": 113,
            "renderKey": "1131748414199532",
            "bindTable": "t_enterprise_archives_info",
            "bindTableField": "employees_number",
            "bindTableFieldType": "int"
          },
          "__slot__": {
            "prepend": "",
            "append": "人"
          },
          "type": "number",
          "computationalConfiguration": [],
          "computationalConfigurationValue": "",
          "relativeComObject": null,
          "placeholder": "请输入职工人数",
          "style": {
            "width": "100%"
          },
          "clearable": true,
          "prefix-icon": "",
          "suffix-icon": "",
          "maxlength": null,
          "show-word-limit": false,
          "readonly": false,
          "disabled": false,
          "prestrainField": "",
          "__vModel__": "employees_number"
        }, {
          "__config__": {
            "label": "开建日期",
            "tag": "el-date-picker",
            "tagIcon": "date",
            "avueType": "datetime",
            "defaultValue": null,
            "showLabel": true,
            "labelWidth": null,
            "span": 12,
            "layout": "colFormItem",
            "required": true,
            "regList": [],
            "changeTag": true,
            "document": "https://element.eleme.cn/#/zh-CN/component/date-picker",
            "F_LgMarkCode": "",
            "triggerEvents": ["change"],
            "triggerEventData": {
              "change": []
            },
            "prestrainField": "",
            "formId": 114,
            "renderKey": "1141748414235571",
            "bindTable": "t_enterprise_archives_info",
            "bindTableField": "establishment_date",
            "bindTableFieldType": "date"
          },
          "placeholder": "请选择开建日期",
          "type": "date",
          "style": {
            "width": "100%"
          },
          "disabled": false,
          "clearable": true,
          "format": "yyyy-MM-dd",
          "value-format": "yyyy-MM-dd",
          "readonly": false,
          "__vModel__": "establishment_date"
        }, {
          "__config__": {
            "label": "经济性质",
            "labelWidth": null,
            "showLabel": true,
            "changeTag": true,
            "tag": "el-input",
            "tagIcon": "input",
            "avueType": "input-tip",
            "required": true,
            "layout": "colFormItem",
            "span": 12,
            "document": "https://element.eleme.cn/#/zh-CN/component/input",
            "F_LgMarkCode": "",
            "regList": [],
            "triggerEvents": ["blur"],
            "triggerEventData": {
              "blur": []
            },
            "prestrainField": "",
            "formId": 115,
            "renderKey": "1151748414256343",
            "bindTable": "t_enterprise_archives_info",
            "bindTableField": "economic_nature",
            "bindTableFieldType": "varchar"
          },
          "__slot__": {
            "prepend": "",
            "append": ""
          },
          "placeholder": "请输入经济性质",
          "style": {
            "width": "100%"
          },
          "clearable": true,
          "prefix-icon": "",
          "suffix-icon": "",
          "maxlength": null,
          "show-word-limit": false,
          "readonly": false,
          "disabled": false,
          "__vModel__": "economic_nature"
        }, {
          "__config__": {
            "label": "生产经营范围",
            "labelWidth": null,
            "showLabel": true,
            "tag": "el-input",
            "tagIcon": "textarea",
            "avueType": "textarea",
            "required": true,
            "layout": "colFormItem",
            "span": 24,
            "regList": [],
            "changeTag": true,
            "document": "https://element.eleme.cn/#/zh-CN/component/input",
            "F_LgMarkCode": "",
            "triggerEvents": ["blur"],
            "triggerEventData": {
              "blur": []
            },
            "prestrainField": "",
            "formId": 116,
            "renderKey": "1161748414290531",
            "bindTable": "t_enterprise_archives_info",
            "bindTableField": "business_scope",
            "bindTableFieldType": "varchar"
          },
          "type": "textarea",
          "placeholder": "请输入生产经营范围",
          "autosize": {
            "minRows": 4,
            "maxRows": 4
          },
          "style": {
            "width": "100%"
          },
          "maxlength": null,
          "show-word-limit": false,
          "readonly": false,
          "disabled": false,
          "__vModel__": "business_scope"
        }, {
          "__config__": {
            "label": "分割线",
            "showLabel": false,
            "changeTag": true,
            "isBindTable": false,
            "direction": "horizontal",
            "contentPosition": "",
            "tag": "el-divider",
            "tagIcon": "split-line",
            "top": 0,
            "bottom": 0,
            "span": 24,
            "layout": "colFormItem",
            "document": "https://element.eleme.cn/#/zh-CN/component/divider",
            "F_LgMarkCode": "",
            "prestrainField": "",
            "formId": 120,
            "renderKey": "1201748414374258"
          },
          "__slot__": {},
          "__vModel__": "field1200660"
        }, {
          "__config__": {
            "label": "一维度",
            "labelWidth": null,
            "showLabel": true,
            "changeTag": true,
            "tag": "el-input",
            "tagIcon": "input",
            "avueType": "input-tip",
            "required": true,
            "layout": "colFormItem",
            "span": 12,
            "document": "https://element.eleme.cn/#/zh-CN/component/input",
            "F_LgMarkCode": "",
            "regList": [],
            "triggerEvents": ["blur"],
            "triggerEventData": {
              "blur": []
            },
            "prestrainField": "",
            "formId": 124,
            "renderKey": "1241748414417032",
            "bindTable": "t_enterprise_archives_info",
            "bindTableField": "cie_1",
            "bindTableFieldType": "decimal"
          },
          "__slot__": {
            "prepend": "",
            "append": ""
          },
          "placeholder": "请输入一维度",
          "style": {
            "width": "100%"
          },
          "clearable": true,
          "prefix-icon": "",
          "suffix-icon": "",
          "maxlength": null,
          "show-word-limit": false,
          "readonly": false,
          "disabled": false,
          "__vModel__": "field124432c"
        }, {
          "__config__": {
            "label": "二维度",
            "labelWidth": null,
            "showLabel": true,
            "changeTag": true,
            "tag": "el-input",
            "tagIcon": "input",
            "avueType": "input-tip",
            "required": true,
            "layout": "colFormItem",
            "span": 12,
            "document": "https://element.eleme.cn/#/zh-CN/component/input",
            "F_LgMarkCode": "",
            "regList": [],
            "triggerEvents": ["blur"],
            "triggerEventData": {
              "blur": []
            },
            "prestrainField": "",
            "formId": 122,
            "renderKey": "1221748414398587",
            "bindTable": "t_enterprise_archives_info",
            "bindTableField": "cie_2",
            "bindTableFieldType": "varchar"
          },
          "__slot__": {
            "prepend": "",
            "append": ""
          },
          "placeholder": "请输入二维度",
          "style": {
            "width": "100%"
          },
          "clearable": true,
          "prefix-icon": "",
          "suffix-icon": "",
          "maxlength": null,
          "show-word-limit": false,
          "readonly": false,
          "disabled": false,
          "__vModel__": "cie_2"
        }, {
          "__config__": {
            "label": "三维度",
            "labelWidth": null,
            "showLabel": true,
            "changeTag": true,
            "tag": "el-input",
            "tagIcon": "input",
            "avueType": "input-tip",
            "required": true,
            "layout": "colFormItem",
            "span": 12,
            "document": "https://element.eleme.cn/#/zh-CN/component/input",
            "F_LgMarkCode": "",
            "regList": [],
            "triggerEvents": ["blur"],
            "triggerEventData": {
              "blur": []
            },
            "prestrainField": "",
            "formId": 123,
            "renderKey": "1231748414416494",
            "bindTable": "t_enterprise_archives_info",
            "bindTableField": "cie_3",
            "bindTableFieldType": "decimal"
          },
          "__slot__": {
            "prepend": "",
            "append": ""
          },
          "placeholder": "请输入三维度",
          "style": {
            "width": "100%"
          },
          "clearable": true,
          "prefix-icon": "",
          "suffix-icon": "",
          "maxlength": null,
          "show-word-limit": false,
          "readonly": false,
          "disabled": false,
          "__vModel__": "cie_3"
        }, {
          "__config__": {
            "label": "四维度",
            "labelWidth": null,
            "showLabel": true,
            "changeTag": true,
            "tag": "el-input",
            "tagIcon": "input",
            "avueType": "input-tip",
            "required": true,
            "layout": "colFormItem",
            "span": 12,
            "document": "https://element.eleme.cn/#/zh-CN/component/input",
            "F_LgMarkCode": "",
            "regList": [],
            "triggerEvents": ["blur"],
            "triggerEventData": {
              "blur": []
            },
            "prestrainField": "",
            "formId": 127,
            "renderKey": "1271748414435523",
            "bindTable": "t_enterprise_archives_info",
            "bindTableField": "cie_4",
            "bindTableFieldType": "decimal"
          },
          "__slot__": {
            "prepend": "",
            "append": ""
          },
          "placeholder": "请输入四维度",
          "style": {
            "width": "100%"
          },
          "clearable": true,
          "prefix-icon": "",
          "suffix-icon": "",
          "maxlength": null,
          "show-word-limit": false,
          "readonly": false,
          "disabled": false,
          "__vModel__": "cie_4"
        }, {
          "__config__": {
            "label": "五维度",
            "labelWidth": null,
            "showLabel": true,
            "changeTag": true,
            "tag": "el-input",
            "tagIcon": "input",
            "avueType": "input-tip",
            "required": true,
            "layout": "colFormItem",
            "span": 12,
            "document": "https://element.eleme.cn/#/zh-CN/component/input",
            "F_LgMarkCode": "",
            "regList": [],
            "triggerEvents": ["blur"],
            "triggerEventData": {
              "blur": []
            },
            "prestrainField": "",
            "formId": 126,
            "renderKey": "1261748414432924",
            "bindTable": "t_enterprise_archives_info",
            "bindTableField": "cie_5",
            "bindTableFieldType": "decimal"
          },
          "__slot__": {
            "prepend": "",
            "append": ""
          },
          "placeholder": "请输入五维度",
          "style": {
            "width": "100%"
          },
          "clearable": true,
          "prefix-icon": "",
          "suffix-icon": "",
          "maxlength": null,
          "show-word-limit": false,
          "readonly": false,
          "disabled": false,
          "__vModel__": "cie_5"
        }, {
          "__config__": {
            "label": "六维度",
            "labelWidth": null,
            "showLabel": true,
            "changeTag": true,
            "tag": "el-input",
            "tagIcon": "input",
            "avueType": "input-tip",
            "required": true,
            "layout": "colFormItem",
            "span": 12,
            "document": "https://element.eleme.cn/#/zh-CN/component/input",
            "F_LgMarkCode": "",
            "regList": [],
            "triggerEvents": ["blur"],
            "triggerEventData": {
              "blur": []
            },
            "prestrainField": "",
            "formId": 125,
            "renderKey": "1251748414430787",
            "bindTable": "t_enterprise_archives_info",
            "bindTableField": "cie_6",
            "bindTableFieldType": "decimal"
          },
          "__slot__": {
            "prepend": "",
            "append": ""
          },
          "placeholder": "请输入六维度",
          "style": {
            "width": "100%"
          },
          "clearable": true,
          "prefix-icon": "",
          "suffix-icon": "",
          "maxlength": null,
          "show-word-limit": false,
          "readonly": false,
          "disabled": false,
          "__vModel__": "cie_6"
        }, {
          "__config__": {
            "label": "企业年度统计",
            "changeTag": null,
            "isBindTable": false,
            "showLabel": false,
            "titlePosition": "left",
            "titleColor": null,
            "fontSize": 12,
            "tag": "h2",
            "tagIcon": "title",
            "span": 24,
            "align": "top",
            "justify": "start",
            "layout": "colFormItem",
            "document": "https://element.eleme.cn/#/zh-CN/component/button",
            "F_LgMarkCode": "",
            "prestrainField": "",
            "formId": 101,
            "renderKey": "1011748413764756"
          },
          "__slot__": {},
          "__vModel__": "field1014915"
        }, {
          "__config__": {
            "label": "分割线",
            "showLabel": false,
            "changeTag": true,
            "isBindTable": false,
            "direction": "horizontal",
            "contentPosition": "",
            "tag": "el-divider",
            "tagIcon": "split-line",
            "top": 0,
            "bottom": 0,
            "span": 24,
            "layout": "colFormItem",
            "document": "https://element.eleme.cn/#/zh-CN/component/divider",
            "F_LgMarkCode": "",
            "prestrainField": "",
            "formId": 100,
            "renderKey": "1001748413763003"
          },
          "__slot__": {},
          "__vModel__": "field1000ee2"
        }, {
          "__config__": {
            "layout": "rowFormItem",
            "componentName": "table",
            "componentTitle": "table",
            "tagIcon": "row",
            "layoutTree": true,
            "dataType": "",
            "showLabel": true,
            "labelTitle": "",
            "showComponentBorder": true,
            "showFormBorder": true,
            "showFormIndex": true,
            "doesTheTitleWrap": false,
            "useDefaultSort": true,
            "sortField": "",
            "document": "https://element.eleme.cn/#/zh-CN/component/layout#row-attributes",
            "isSelectData": false,
            "buttonName": "选择数据",
            "sourceTableHeader": [],
            "itemTableHeader": [],
            "span": 24,
            "formId": 102,
            "renderKey": "1021748413778752",
            "children": [{
              "__config__": {
                "label": "年份",
                "showLabel": true,
                "labelWidth": null,
                "tag": "el-select",
                "tagIcon": "select",
                "avueType": "select",
                "layout": "colFormItem",
                "span": 24,
                "required": true,
                "regList": [],
                "changeTag": true,
                "dataType": "dataSource",
                "saveField": "previous_year",
                "showField": "previous_year",
                "document": "https://element.eleme.cn/#/zh-CN/component/select",
                "F_LgMarkCode": "",
                "triggerEvents": ["change"],
                "triggerEventData": {
                  "change": []
                },
                "prestrainField": "",
                "formId": 103,
                "renderKey": "1031748413803028",
                "bindTable": "t_enterprise_archives_annual_report",
                "bindTableField": "year_value",
                "bindTableFieldType": "int",
                "isChild": true,
                "apiConfig": {
                  "url": "",
                  "type": "",
                  "dataSorce": "",
                  "dataSorceList": [],
                  "dataSourceFieldOption": [],
                  "showField": "",
                  "saveField": "",
                  "apiInputParams": [],
                  "F_UrlAddress": ""
                },
                "dataSource": "9cb32ef60f026f0ef692780488f6a590"
              },
              "__slot__": {
                "options": [{
                  "label": 2025,
                  "value": "2025"
                }, {
                  "label": 2024,
                  "value": "2024"
                }, {
                  "label": 2023,
                  "value": "2023"
                }, {
                  "label": 2022,
                  "value": "2022"
                }, {
                  "label": 2021,
                  "value": "2021"
                }, {
                  "label": 2020,
                  "value": "2020"
                }, {
                  "label": 2019,
                  "value": "2019"
                }, {
                  "label": 2018,
                  "value": "2018"
                }, {
                  "label": 2017,
                  "value": "2017"
                }, {
                  "label": 2016,
                  "value": "2016"
                }]
              },
              "placeholder": "请选择年份",
              "style": {
                "width": "100%"
              },
              "clearable": true,
              "disabled": false,
              "filterable": true,
              "multiple": false,
              "__vModel__": "year_value"
            }, {
              "__config__": {
                "label": "产能",
                "labelWidth": null,
                "showLabel": true,
                "changeTag": true,
                "tag": "el-input",
                "tagIcon": "input",
                "avueType": "input",
                "isFinance": true,
                "defaultValue": 0,
                "required": true,
                "layout": "colFormItem",
                "span": 12,
                "document": "https://element.eleme.cn/#/zh-CN/component/input",
                "F_LgMarkCode": "",
                "regList": [],
                "triggerEvents": ["blur"],
                "triggerEventData": {
                  "blur": []
                },
                "formId": 128,
                "renderKey": "1281748414505788",
                "bindTable": "t_enterprise_archives_annual_report",
                "bindTableField": "output_value",
                "bindTableFieldType": "decimal",
                "isChild": true
              },
              "__slot__": {
                "prepend": "",
                "append": "万元"
              },
              "type": "number",
              "computationalConfiguration": [],
              "computationalConfigurationValue": "",
              "relativeComObject": null,
              "placeholder": "请输入产能",
              "style": {
                "width": "100%"
              },
              "clearable": true,
              "prefix-icon": "",
              "suffix-icon": "",
              "maxlength": null,
              "show-word-limit": false,
              "readonly": false,
              "disabled": false,
              "prestrainField": "",
              "__vModel__": "output_value"
            }, {
              "__config__": {
                "label": "税收",
                "labelWidth": null,
                "showLabel": true,
                "changeTag": true,
                "tag": "el-input",
                "tagIcon": "input",
                "avueType": "input",
                "isFinance": true,
                "defaultValue": 0,
                "required": true,
                "layout": "colFormItem",
                "span": 12,
                "document": "https://element.eleme.cn/#/zh-CN/component/input",
                "F_LgMarkCode": "",
                "regList": [],
                "triggerEvents": ["blur"],
                "triggerEventData": {
                  "blur": []
                },
                "formId": 129,
                "renderKey": "1291748414508270",
                "bindTable": "t_enterprise_archives_annual_report",
                "bindTableField": "tax",
                "bindTableFieldType": "decimal",
                "isChild": true
              },
              "__slot__": {
                "prepend": "",
                "append": "万元"
              },
              "type": "number",
              "computationalConfiguration": [],
              "computationalConfigurationValue": "",
              "relativeComObject": null,
              "placeholder": "请输入税收",
              "style": {
                "width": "100%"
              },
              "clearable": true,
              "prefix-icon": "",
              "suffix-icon": "",
              "maxlength": null,
              "show-word-limit": false,
              "readonly": false,
              "disabled": false,
              "prestrainField": "",
              "__vModel__": "tax"
            }, {
              "__config__": {
                "label": "能耗",
                "labelWidth": null,
                "showLabel": true,
                "changeTag": true,
                "tag": "el-input",
                "tagIcon": "input",
                "avueType": "input",
                "isFinance": true,
                "defaultValue": 0,
                "required": true,
                "layout": "colFormItem",
                "span": 12,
                "document": "https://element.eleme.cn/#/zh-CN/component/input",
                "F_LgMarkCode": "",
                "regList": [],
                "triggerEvents": ["blur"],
                "triggerEventData": {
                  "blur": []
                },
                "formId": 130,
                "renderKey": "1301748414509318",
                "bindTable": "t_enterprise_archives_annual_report",
                "bindTableField": "energy_consumption",
                "bindTableFieldType": "decimal",
                "isChild": true
              },
              "__slot__": {
                "prepend": "",
                "append": "kWh"
              },
              "type": "number",
              "computationalConfiguration": [],
              "computationalConfigurationValue": "",
              "relativeComObject": null,
              "placeholder": "请输入能耗",
              "style": {
                "width": "100%"
              },
              "clearable": true,
              "prefix-icon": "",
              "suffix-icon": "",
              "maxlength": null,
              "show-word-limit": false,
              "readonly": false,
              "disabled": false,
              "prestrainField": "",
              "__vModel__": "energy_consumption"
            }, {
              "__config__": {
                "label": "废水排放量",
                "labelWidth": null,
                "showLabel": true,
                "changeTag": true,
                "tag": "el-input",
                "tagIcon": "input",
                "avueType": "input",
                "isFinance": true,
                "defaultValue": 0,
                "required": true,
                "layout": "colFormItem",
                "span": 12,
                "document": "https://element.eleme.cn/#/zh-CN/component/input",
                "F_LgMarkCode": "",
                "regList": [],
                "triggerEvents": ["blur"],
                "triggerEventData": {
                  "blur": []
                },
                "formId": 131,
                "renderKey": "1311748414553109",
                "bindTable": "t_enterprise_archives_annual_report",
                "bindTableField": "discharge_volume",
                "bindTableFieldType": "decimal",
                "isChild": true
              },
              "__slot__": {
                "prepend": "",
                "append": "吨"
              },
              "type": "number",
              "computationalConfiguration": [],
              "computationalConfigurationValue": "",
              "relativeComObject": null,
              "placeholder": "请输入废水排放量",
              "style": {
                "width": "100%"
              },
              "clearable": true,
              "prefix-icon": "",
              "suffix-icon": "",
              "maxlength": null,
              "show-word-limit": false,
              "readonly": false,
              "disabled": false,
              "prestrainField": "",
              "__vModel__": "discharge_volume"
            }, {
              "__config__": {
                "label": "社保缴纳人数",
                "labelWidth": null,
                "showLabel": true,
                "changeTag": true,
                "tag": "el-input",
                "tagIcon": "input",
                "avueType": "input",
                "isFinance": true,
                "defaultValue": 0,
                "required": true,
                "layout": "colFormItem",
                "span": 12,
                "document": "https://element.eleme.cn/#/zh-CN/component/input",
                "F_LgMarkCode": "",
                "regList": [],
                "triggerEvents": ["blur"],
                "triggerEventData": {
                  "blur": []
                },
                "formId": 132,
                "renderKey": "1321748414567829",
                "bindTable": "t_enterprise_archives_annual_report",
                "bindTableField": "ssp_qty",
                "bindTableFieldType": "int",
                "isChild": true
              },
              "__slot__": {
                "prepend": "",
                "append": "人"
              },
              "type": "number",
              "computationalConfiguration": [],
              "computationalConfigurationValue": "",
              "relativeComObject": null,
              "placeholder": "请输入社保缴纳人数",
              "style": {
                "width": "100%"
              },
              "clearable": true,
              "prefix-icon": "",
              "suffix-icon": "",
              "maxlength": null,
              "show-word-limit": false,
              "readonly": false,
              "disabled": false,
              "prestrainField": "",
              "__vModel__": "ssp_qty"
            }],
            "apiConfig": {
              "url": "",
              "type": "",
              "dataSorce": "",
              "dataSorceList": [],
              "dataSourceFieldOption": [],
              "showField": "",
              "saveField": "",
              "apiInputParams": [],
              "F_UrlAddress": ""
            },
            "bindTable": "t_enterprise_archives_annual_report"
          },
          "type": "default",
          "justify": "start",
          "align": "top"
        }, {
          "__config__": {
            "label": "企业产品及项目",
            "changeTag": null,
            "isBindTable": false,
            "showLabel": false,
            "titlePosition": "left",
            "titleColor": null,
            "fontSize": 12,
            "tag": "h2",
            "tagIcon": "title",
            "span": 24,
            "align": "top",
            "justify": "start",
            "layout": "colFormItem",
            "document": "https://element.eleme.cn/#/zh-CN/component/button",
            "F_LgMarkCode": "",
            "prestrainField": "",
            "formId": 104,
            "renderKey": "1041748413840471"
          },
          "__slot__": {},
          "__vModel__": "field1049a50"
        }, {
          "__config__": {
            "label": "分割线",
            "showLabel": false,
            "changeTag": true,
            "isBindTable": false,
            "direction": "horizontal",
            "contentPosition": "",
            "tag": "el-divider",
            "tagIcon": "split-line",
            "top": 0,
            "bottom": 0,
            "span": 24,
            "layout": "colFormItem",
            "document": "https://element.eleme.cn/#/zh-CN/component/divider",
            "F_LgMarkCode": "",
            "prestrainField": "",
            "formId": 105,
            "renderKey": "1051748413842448"
          },
          "__slot__": {},
          "__vModel__": "field1055a8b"
        }, {
          "__config__": {
            "layout": "rowFormItem",
            "componentName": "table",
            "componentTitle": "table",
            "tagIcon": "row",
            "layoutTree": true,
            "dataType": "",
            "showLabel": true,
            "labelTitle": "",
            "showComponentBorder": true,
            "showFormBorder": true,
            "showFormIndex": true,
            "doesTheTitleWrap": false,
            "useDefaultSort": true,
            "sortField": "",
            "document": "https://element.eleme.cn/#/zh-CN/component/layout#row-attributes",
            "isSelectData": false,
            "buttonName": "选择数据",
            "sourceTableHeader": [],
            "itemTableHeader": [],
            "span": 24,
            "formId": 106,
            "renderKey": "1061748413851216",
            "children": [{
              "__config__": {
                "label": "核心产品名称",
                "labelWidth": null,
                "showLabel": true,
                "changeTag": true,
                "tag": "el-input",
                "tagIcon": "input",
                "avueType": "input-tip",
                "required": true,
                "layout": "colFormItem",
                "span": 24,
                "document": "https://element.eleme.cn/#/zh-CN/component/input",
                "F_LgMarkCode": "",
                "regList": [],
                "triggerEvents": ["blur"],
                "triggerEventData": {
                  "blur": []
                },
                "prestrainField": "",
                "formId": 107,
                "renderKey": "1071748413861542",
                "bindTable": "t_enterprise_archives_product",
                "bindTableField": "product_name",
                "bindTableFieldType": "varchar",
                "isChild": true
              },
              "__slot__": {
                "prepend": "",
                "append": ""
              },
              "placeholder": "请输入核心产品名称",
              "style": {
                "width": "100%"
              },
              "clearable": true,
              "prefix-icon": "",
              "suffix-icon": "",
              "maxlength": null,
              "show-word-limit": false,
              "readonly": false,
              "disabled": false,
              "__vModel__": "product_name"
            }, {
              "__config__": {
                "label": "核心产品数量",
                "labelWidth": null,
                "showLabel": true,
                "changeTag": true,
                "tag": "el-input",
                "tagIcon": "input",
                "avueType": "input",
                "isFinance": true,
                "defaultValue": 0,
                "required": true,
                "layout": "colFormItem",
                "span": 12,
                "document": "https://element.eleme.cn/#/zh-CN/component/input",
                "F_LgMarkCode": "",
                "regList": [],
                "triggerEvents": ["blur"],
                "triggerEventData": {
                  "blur": []
                },
                "formId": 135,
                "renderKey": "1351748414597901",
                "bindTable": "t_enterprise_archives_product",
                "bindTableField": "product_quantity",
                "bindTableFieldType": "int",
                "isChild": true
              },
              "__slot__": {
                "prepend": "",
                "append": ""
              },
              "type": "number",
              "computationalConfiguration": [],
              "computationalConfigurationValue": "",
              "relativeComObject": null,
              "placeholder": "请输入核心产品数量",
              "style": {
                "width": "100%"
              },
              "clearable": true,
              "prefix-icon": "",
              "suffix-icon": "",
              "maxlength": null,
              "show-word-limit": false,
              "readonly": false,
              "disabled": false,
              "prestrainField": "",
              "__vModel__": "product_quantity"
            }, {
              "__config__": {
                "label": "上游产业名称",
                "labelWidth": null,
                "showLabel": true,
                "changeTag": true,
                "tag": "el-input",
                "tagIcon": "input",
                "avueType": "input-tip",
                "required": true,
                "layout": "colFormItem",
                "span": 24,
                "document": "https://element.eleme.cn/#/zh-CN/component/input",
                "F_LgMarkCode": "",
                "regList": [],
                "triggerEvents": ["blur"],
                "triggerEventData": {
                  "blur": []
                },
                "prestrainField": "",
                "formId": 136,
                "renderKey": "1361748414616087",
                "bindTable": "t_enterprise_archives_product",
                "bindTableField": "upstream_industry_name",
                "bindTableFieldType": "varchar",
                "isChild": true
              },
              "__slot__": {
                "prepend": "",
                "append": ""
              },
              "placeholder": "请输入上游产业名称",
              "style": {
                "width": "100%"
              },
              "clearable": true,
              "prefix-icon": "",
              "suffix-icon": "",
              "maxlength": null,
              "show-word-limit": false,
              "readonly": false,
              "disabled": false,
              "__vModel__": "upstream_industry_name"
            }, {
              "__config__": {
                "label": "下游产业名称",
                "labelWidth": null,
                "showLabel": true,
                "changeTag": true,
                "tag": "el-input",
                "tagIcon": "input",
                "avueType": "input-tip",
                "required": true,
                "layout": "colFormItem",
                "span": 24,
                "document": "https://element.eleme.cn/#/zh-CN/component/input",
                "F_LgMarkCode": "",
                "regList": [],
                "triggerEvents": ["blur"],
                "triggerEventData": {
                  "blur": []
                },
                "prestrainField": "",
                "formId": 137,
                "renderKey": "1371748414616502",
                "bindTable": "t_enterprise_archives_product",
                "bindTableField": "downstream_industry_name",
                "bindTableFieldType": "varchar",
                "isChild": true
              },
              "__slot__": {
                "prepend": "",
                "append": ""
              },
              "placeholder": "请输入下游产业名称",
              "style": {
                "width": "100%"
              },
              "clearable": true,
              "prefix-icon": "",
              "suffix-icon": "",
              "maxlength": null,
              "show-word-limit": false,
              "readonly": false,
              "disabled": false,
              "__vModel__": "downstream_industry_name"
            }, {
              "__config__": {
                "label": "线上申报项目",
                "labelWidth": null,
                "showLabel": true,
                "changeTag": true,
                "tag": "el-input",
                "tagIcon": "input",
                "avueType": "input-tip",
                "required": true,
                "layout": "colFormItem",
                "span": 24,
                "document": "https://element.eleme.cn/#/zh-CN/component/input",
                "F_LgMarkCode": "",
                "regList": [],
                "triggerEvents": ["blur"],
                "triggerEventData": {
                  "blur": []
                },
                "prestrainField": "",
                "formId": 138,
                "renderKey": "1381748414655230",
                "bindTable": "t_enterprise_archives_product",
                "bindTableField": "project_name",
                "bindTableFieldType": "varchar",
                "isChild": true
              },
              "__slot__": {
                "prepend": "",
                "append": ""
              },
              "placeholder": "请输入线上申报项目",
              "style": {
                "width": "100%"
              },
              "clearable": true,
              "prefix-icon": "",
              "suffix-icon": "",
              "maxlength": null,
              "show-word-limit": false,
              "readonly": false,
              "disabled": false,
              "__vModel__": "project_name"
            }, {
              "__config__": {
                "label": "线上申报项目进度",
                "labelWidth": null,
                "showLabel": true,
                "changeTag": true,
                "tag": "el-input",
                "tagIcon": "input",
                "avueType": "input",
                "isFinance": true,
                "defaultValue": 0,
                "required": true,
                "layout": "colFormItem",
                "span": 12,
                "document": "https://element.eleme.cn/#/zh-CN/component/input",
                "F_LgMarkCode": "",
                "regList": [],
                "triggerEvents": ["blur"],
                "triggerEventData": {
                  "blur": []
                },
                "formId": 139,
                "renderKey": "1391748414684830",
                "bindTable": "t_enterprise_archives_product",
                "bindTableField": "project_schedule",
                "bindTableFieldType": "decimal",
                "isChild": true
              },
              "__slot__": {
                "prepend": "",
                "append": "%"
              },
              "type": "number",
              "computationalConfiguration": [],
              "computationalConfigurationValue": "",
              "relativeComObject": null,
              "placeholder": "请输入线上申报项目进度",
              "style": {
                "width": "100%"
              },
              "clearable": true,
              "prefix-icon": "",
              "suffix-icon": "",
              "maxlength": null,
              "show-word-limit": false,
              "readonly": false,
              "disabled": false,
              "prestrainField": "",
              "__vModel__": "project_schedule"
            }],
            "apiConfig": {
              "url": "",
              "type": "",
              "dataSorce": "",
              "dataSorceList": [],
              "dataSourceFieldOption": [],
              "showField": "",
              "saveField": "",
              "apiInputParams": [],
              "F_UrlAddress": ""
            },
            "bindTable": "t_enterprise_archives_product"
          },
          "type": "default",
          "justify": "start",
          "align": "top"
        }]
      };
      return config;
      //FORM_CONFIG_END
    },
    getFormFieldsMap() {
      //FORM_CONFIG_MAP_START
      let config = [
        [117, {
          "__vModel__": "field11796d5",
          "__config__": {
            "autoHandlerConfig": null
          }
        }],
        [118, {
          "__vModel__": "field1183b87",
          "__config__": {
            "autoHandlerConfig": null
          }
        }],
        [108, {
          "__vModel__": "enterprise_name",
          "__config__": {
            "avueType": "input-tip",
            "triggerEvents": ["blur"],
            "triggerEventData": {
              "blur": []
            },
            "autoHandlerConfig": null
          }
        }],
        [109, {
          "__vModel__": "production_mode",
          "__config__": {
            "avueType": "input-tip",
            "triggerEvents": ["blur"],
            "triggerEventData": {
              "blur": []
            },
            "autoHandlerConfig": null
          }
        }],
        [110, {
          "__vModel__": "company_address",
          "__config__": {
            "avueType": "input-tip",
            "triggerEvents": ["blur"],
            "triggerEventData": {
              "blur": []
            },
            "autoHandlerConfig": null
          }
        }],
        [111, {
          "__vModel__": "total_assets",
          "__config__": {
            "avueType": "input",
            "triggerEvents": ["blur"],
            "triggerEventData": {
              "blur": []
            },
            "autoHandlerConfig": null
          }
        }],
        [112, {
          "__vModel__": "leader_name",
          "__config__": {
            "avueType": "input-tip",
            "triggerEvents": ["blur"],
            "triggerEventData": {
              "blur": []
            },
            "autoHandlerConfig": null
          }
        }],
        [113, {
          "__vModel__": "employees_number",
          "__config__": {
            "avueType": "input",
            "triggerEvents": ["blur"],
            "triggerEventData": {
              "blur": []
            },
            "autoHandlerConfig": null
          }
        }],
        [114, {
          "__vModel__": "establishment_date",
          "__config__": {
            "avueType": "datetime",
            "triggerEvents": ["change"],
            "triggerEventData": {
              "change": []
            },
            "autoHandlerConfig": null
          }
        }],
        [115, {
          "__vModel__": "economic_nature",
          "__config__": {
            "avueType": "input-tip",
            "triggerEvents": ["blur"],
            "triggerEventData": {
              "blur": []
            },
            "autoHandlerConfig": null
          }
        }],
        [116, {
          "__vModel__": "business_scope",
          "__config__": {
            "avueType": "textarea",
            "triggerEvents": ["blur"],
            "triggerEventData": {
              "blur": []
            },
            "autoHandlerConfig": null
          }
        }],
        [120, {
          "__vModel__": "field1200660",
          "__config__": {
            "autoHandlerConfig": null
          }
        }],
        [124, {
          "__vModel__": "field124432c",
          "__config__": {
            "avueType": "input-tip",
            "triggerEvents": ["blur"],
            "triggerEventData": {
              "blur": []
            },
            "autoHandlerConfig": null
          }
        }],
        [122, {
          "__vModel__": "cie_2",
          "__config__": {
            "avueType": "input-tip",
            "triggerEvents": ["blur"],
            "triggerEventData": {
              "blur": []
            },
            "autoHandlerConfig": null
          }
        }],
        [123, {
          "__vModel__": "cie_3",
          "__config__": {
            "avueType": "input-tip",
            "triggerEvents": ["blur"],
            "triggerEventData": {
              "blur": []
            },
            "autoHandlerConfig": null
          }
        }],
        [127, {
          "__vModel__": "cie_4",
          "__config__": {
            "avueType": "input-tip",
            "triggerEvents": ["blur"],
            "triggerEventData": {
              "blur": []
            },
            "autoHandlerConfig": null
          }
        }],
        [126, {
          "__vModel__": "cie_5",
          "__config__": {
            "avueType": "input-tip",
            "triggerEvents": ["blur"],
            "triggerEventData": {
              "blur": []
            },
            "autoHandlerConfig": null
          }
        }],
        [125, {
          "__vModel__": "cie_6",
          "__config__": {
            "avueType": "input-tip",
            "triggerEvents": ["blur"],
            "triggerEventData": {
              "blur": []
            },
            "autoHandlerConfig": null
          }
        }],
        [101, {
          "__vModel__": "field1014915",
          "__config__": {
            "autoHandlerConfig": null
          }
        }],
        [100, {
          "__vModel__": "field1000ee2",
          "__config__": {
            "autoHandlerConfig": null
          }
        }],
        [104, {
          "__vModel__": "field1049a50",
          "__config__": {
            "autoHandlerConfig": null
          }
        }],
        [105, {
          "__vModel__": "field1055a8b",
          "__config__": {
            "autoHandlerConfig": null
          }
        }]
      ];
      return new Map(config);
      //FORM_CONFIG_MAP_END
    },
    async getHideComponentsMap() {
      let mapList = new Map();
      let hideComponentList = this.getHideComponents();
      if (typeof this.initHideComponentList == 'function') {
        mapList = await this.initHideComponentList(hideComponentList);
        this.$store.commit("SET_HIDE_COMPONENT_LIST", mapList);
      }
      return mapList;
    },
    getHideComponentsMapItem(key) {
      if (this.hideComponentsMap.size > 0) {
        return this.hideComponentsMap.has(key) ? this.hideComponentsMap.get(key) : "";
      }
      else {
        return ""
      }
    },
    getHideComponents() {
      //FORM_HIDE_COMPONENTS_START
      let config = [];
      return config;
      //FORM_HIDE_COMPONENTS_END
    },
  }
}

</script>
<style>
.el-table__empty-block {
  width: 100% !important;
}

.avue-form__row {
  padding: 0 !important;
}

#editorphone {
  width: 375px;
  margin: 0 auto;
  border: 1px solid #E4E7ED;
  padding: 0 7.5px;
  background: #f5f6fa;
  height: 700px;
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: 5px;
}

#editorphone .el-col {
  border-bottom: 1px solid #F2F2F2;
  background: #fff;
  margin-bottom: 0;
  padding: 0 15px 6px !important;
  width: 100%;
}

#editorphone .el-form-item__label {
  line-height: 20px
}

#editorphone .el-input-group .el-input__inner {
  background: #f5f6fa
}

#editorphone .el-input__inner {
  border: 0
}

#editorphone .el-input-group__append,
#editorphone .el-input-group__prepend {
  border: 0;
  background: #edeef2;
  color: #666;
}

#editorphone .el-input-group .el-input__prefix {
  left: 44px
}

#editorphone .el-input-group .el-input__suffix {
  right: 44px
}

#editorphone .el-form-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-flow: wrap;
}

#editorphone .el-form-item__label {
  float: none;
  min-width: 85px;
  width: auto !important;
  text-align: left;
  flex: auto;
}

#editorphone .tinymce .el-form-item__label {
  min-width: 100%;
}

#editorphone .el-form-item__content {
  margin-left: 0px !important;
  flex: auto;
  width: calc(100% - 95px);
}

#editorphone .avueFormNoLable .el-form-item__label,
#editorphone .avueFormNoLable .avue-crud__pagination {
  display: none;
}

#editorphone .avueFormNoLable .el-collapse-item__wrap,
#editorphone .avueFormNoLable .el-collapse {
  border-bottom: 0
}

#editorphone .avueFormNoLable .el-col {
  border-bottom: 0;
  padding-bottom: 0
}

#editorphone .el-form-item__content .el-button:first-child {
  margin-left: 90px;
}

</style>
